<?php

$data = array('msg' => null, 'type' => 'hardware', 'table' => 'hardware');

$data['search_fields'] = array(
  'capacity',
  'serialn',
  'state',
  'maker',
  'model'
);

$data['list_fields'] = array(
  'condition_id',
  'location_id',
  'cpu_id',
  'warehouse_id',
  'model_id'
);

$data['joins'] = array(
  'models',
  'categories',
  'makers',
  'conditions'
);

$data['join_fields'] = array(
  '`model_id`=`models`.`id`',
  '`maker_id`=`makers`.`id`',
  '`condition_id`=`conditions`.`id`',
  '`category_id`=`categories`.`id`'
);

$data['order'] = 'category, maker, model, serialn';

?>
